package com.tsunami.authority.dto.admin;

import com.tsunami.authority.enums.admin.MoldType;
import com.tsunami.authority.enums.admin.TenantType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author lx
 * @date 2024/3/25 16:49
 */
@Data
public class UserTenantDTO {

    /**
     * ID
     */
    @Schema(description = "ID")
    private Long id;
    /**
     * 用户
     */
    @Schema(description = "用户")
    private Long userId;

    @Schema(description = "租户名称")
    private String tenantName;

    /**
     * 租户简称
     */
    @Schema(description = "租户简称")
    private String shortName;
    /**
     * 联系方式
     */
    @Schema(description = "联系方式")
    private String phone;
    /**
     * 租户编号
     */
    @Schema(description = "租户编号")
    private String tenantCode;
    /**
     * 租户行业类型
     */
    @Schema(description = "租户行业类型")
    private MoldType mold;
    /**
     * 租户类型
     */
    @Schema(description = "租户类型")
    private TenantType type;
    /**
     * 开通时间
     */
    @Schema(description = "开通时间")
    private LocalDateTime openTime;
    /**
     * 到期时间
     */
    @Schema(description = "到期时间")
    private LocalDateTime expireTime;
    /**
     * 是否首选
     */
    @Schema(description = "是否首选")
    private Boolean activation;
}
